package a.j;

import a.c.e;
import a.c.z;

import java.awt.*;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class qd
  extends od
{
  private List bb = new ArrayList();
  private ld cb;
  public static boolean db;
  
  public qd()
  {
    this.cb = null;
  }
  
  public qd(ld paramld)
  {
    super(paramld);
    if ((bool2) || ((paramld instanceof qd)))
    {
      qd localqd = (qd)paramld;
      int i = 0;
      do
      {
        if (i >= localqd.h()) {
          break;
        }
        ld localld1 = localqd.f(i);
        ld localld2 = localld1.m();
        this.bb.add(localld2);
        if (!bool2)
        {
          if (localld1 == localqd.i()) {
            d(localld2);
          }
          i++;
        }
      } while (!bool1);
    }
  }
  
  private void a(qd paramqd)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    int i = 0;
    do
    {
      if (i >= paramqd.h()) {
        break;
      }
      ld localld1 = paramqd.f(i);
      ld localld2 = localld1.m();
      this.bb.add(localld2);
      if (!bool2)
      {
        if (localld1 == paramqd.i()) {
          d(localld2);
        }
        i++;
      }
    } while (!bool1);
  }
  
  public ld a(ld paramld)
  {
    qd localqd = new qd(paramld);
    return localqd;
  }
  
  public void b(ld paramld)
  {
    this.bb.add(paramld);
  }
  
  public void c(ld paramld)
  {
    this.bb.remove(paramld);
  }
  
  public int h()
  {
    return this.bb.size();
  }
  
  public ld f(int paramInt)
  {
    return (ld)this.bb.get(paramInt);
  }
  
  public void a(int paramInt, ld paramld)
  {
    this.bb.set(paramInt, paramld);
  }
  
  public ld i()
  {
    return this.cb;
  }
  
  public void d(ld paramld)
  {
    boolean bool = ld.E;
    ld localld = this.cb;
    if (!bool)
    {
      if ((paramld == this) || (paramld == null))
      {
        if (bool) {
          break label46;
        }
        this.cb = null;
      }
    }
    else {
      if (!ld.D) {
        break label45;
      }
    }
    this.cb = paramld;
    label45:
    label46:
    e locale = n();
    if (!bool)
    {
      a(locale);
      if (locale == null) {
        return;
      }
      if (bool) {}
    }
    else if (this.cb == localld)
    {
      return;
    }
    g localg = S();
    if ((bool) || (localg != null)) {
      localg.a(locale, "realizer", this, this);
    }
  }
  
  void a(e parame)
  {
    super.a(parame);
    if ((ld.E) || (this.cb != null)) {
      this.cb.a(parame);
    }
  }
  
  public void a(Color paramColor)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.a(paramColor);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.a(paramColor);
  }
  
  public Color o()
  {
    if (!ld.E) {}
    return this.cb == null ? super.o() : this.cb.o();
  }
  
  public void b(Color paramColor)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.b(paramColor);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.b(paramColor);
  }
  
  public Color p()
  {
    if (!ld.E) {}
    return this.cb == null ? super.p() : this.cb.p();
  }
  
  public void c(Color paramColor)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.c(paramColor);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.c(paramColor);
  }
  
  public Color q()
  {
    if (!ld.E) {}
    return this.cb == null ? super.q() : this.cb.q();
  }
  
  public void a(c paramc)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.a(paramc);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.a(paramc);
  }
  
  public c r()
  {
    if (!ld.E) {}
    return this.cb == null ? super.r() : this.cb.r();
  }
  
  public void c(boolean paramBoolean)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.c(paramBoolean);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.c(paramBoolean);
  }
  
  public boolean s()
  {
    if (!ld.E) {}
    return this.cb == null ? super.s() : this.cb.s();
  }
  
  public void b(byte paramByte)
  {
    boolean bool = ld.E;
    if (!bool) {
      if ((this.cb instanceof od))
      {
        if (bool) {
          break label40;
        }
        ((od)this.cb).b(paramByte);
        if (!ld.D) {
          return;
        }
      }
    }
    label40:
    super.b(paramByte);
  }
  
  public byte U()
  {
    if (!ld.E) {
      if ((this.cb instanceof od)) {
        return ((od)this.cb).U();
      }
    }
    return super.U();
  }
  
  public void b(String paramString)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.b(paramString);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.b(paramString);
  }
  
  public String u()
  {
    if (!ld.E) {}
    return this.cb == null ? super.u() : this.cb.u();
  }
  
  public jg v()
  {
    if (!ld.E) {}
    return this.cb == null ? super.v() : this.cb.v();
  }
  
  public void a(jg paramjg)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.a(paramjg);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.a(paramjg);
  }
  
  public void b(jg paramjg)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.b(paramjg);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.b(paramjg);
  }
  
  public void c(jg paramjg)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.c(paramjg);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.c(paramjg);
  }
  
  public void a(int paramInt)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.a(paramInt);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.a(paramInt);
  }
  
  public jg w()
  {
    if (!ld.E) {}
    return this.cb == null ? super.w() : this.cb.w();
  }
  
  public jg b(int paramInt)
  {
    if (!ld.E) {}
    return this.cb == null ? super.b(paramInt) : this.cb.b(paramInt);
  }
  
  public int x()
  {
    if (!ld.E) {}
    return this.cb == null ? super.x() : this.cb.x();
  }
  
  public void a(jd paramjd)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.a(paramjd);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.a(paramjd);
  }
  
  public void d(int paramInt)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.d(paramInt);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.d(paramInt);
  }
  
  public void d(jd paramjd)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.d(paramjd);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.d(paramjd);
  }
  
  public jd c(int paramInt)
  {
    if (!ld.E) {
      if (this.cb == null) {
        return super.c(paramInt);
      }
    }
    return this.cb.c(paramInt);
  }
  
  public int y()
  {
    if (!ld.E) {
      if (this.cb == null) {
        return super.y();
      }
    }
    return this.cb.y();
  }
  
  public Iterator z()
  {
    if (!ld.E) {
      if (this.cb == null) {
        return super.z();
      }
    }
    return this.cb.z();
  }
  
  protected void Q()
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label33;
        }
        super.Q();
        if (!ld.D) {
          return;
        }
      }
    }
    label33:
    this.cb.Q();
  }
  
  jd a(Object paramObject)
  {
    if (!ld.E) {
      if (this.cb == null) {
        return super.a(paramObject);
      }
    }
    return this.cb.a(paramObject);
  }
  
  Object e(jd paramjd)
  {
    if (!ld.E) {
      if (this.cb == null) {
        return super.e(paramjd);
      }
    }
    return this.cb.e(paramjd);
  }
  
  public double A()
  {
    if (!ld.E) {}
    return this.cb == null ? super.A() : this.cb.A();
  }
  
  public double B()
  {
    if (!ld.E) {}
    return this.cb == null ? super.B() : this.cb.B();
  }
  
  public void c(double paramDouble1, double paramDouble2)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label40;
        }
        super.c(paramDouble1, paramDouble2);
        if (!ld.D) {
          return;
        }
      }
    }
    label40:
    this.cb.c(paramDouble1, paramDouble2);
  }
  
  public void a(double paramDouble)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.a(paramDouble);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.a(paramDouble);
  }
  
  public void b(double paramDouble)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.b(paramDouble);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.b(paramDouble);
  }
  
  public double a()
  {
    if (!ld.E) {}
    return this.cb == null ? super.a() : this.cb.a();
  }
  
  public double b()
  {
    if (!ld.E) {}
    return this.cb == null ? super.b() : this.cb.b();
  }
  
  public void a(double paramDouble1, double paramDouble2)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label40;
        }
        super.a(paramDouble1, paramDouble2);
        if (!ld.D) {
          return;
        }
      }
    }
    label40:
    this.cb.a(paramDouble1, paramDouble2);
  }
  
  public void c(double paramDouble)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.c(paramDouble);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.c(paramDouble);
  }
  
  public void d(double paramDouble)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.d(paramDouble);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.d(paramDouble);
  }
  
  public void d(double paramDouble1, double paramDouble2)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label40;
        }
        super.d(paramDouble1, paramDouble2);
        if (!ld.D) {
          return;
        }
      }
    }
    label40:
    this.cb.d(paramDouble1, paramDouble2);
  }
  
  public double c()
  {
    if (!ld.E) {}
    return this.cb == null ? super.c() : this.cb.c();
  }
  
  public double d()
  {
    if (!ld.E) {}
    return this.cb == null ? super.d() : this.cb.d();
  }
  
  public void a(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label48;
        }
        super.a(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
        if (!ld.D) {
          return;
        }
      }
    }
    label48:
    this.cb.a(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
  }
  
  public void a(Rectangle2D paramRectangle2D)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.a(paramRectangle2D);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.a(paramRectangle2D);
  }
  
  public void b(double paramDouble1, double paramDouble2)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label40;
        }
        super.b(paramDouble1, paramDouble2);
        if (!ld.D) {
          return;
        }
      }
    }
    label40:
    this.cb.b(paramDouble1, paramDouble2);
  }
  
  public void e(double paramDouble)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.e(paramDouble);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.e(paramDouble);
  }
  
  public void f(double paramDouble)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.f(paramDouble);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.f(paramDouble);
  }
  
  public void d(boolean paramBoolean)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.d(paramBoolean);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.d(paramBoolean);
  }
  
  public boolean D()
  {
    if (!ld.E) {}
    return this.cb == null ? super.D() : this.cb.D();
  }
  
  public void a(byte paramByte)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.a(paramByte);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.a(paramByte);
  }
  
  public byte F()
  {
    if (!ld.E) {}
    return this.cb == null ? super.F() : this.cb.F();
  }
  
  public void a(byte paramByte, boolean paramBoolean)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label37;
        }
        super.a(paramByte, paramBoolean);
        if (!ld.D) {
          return;
        }
      }
    }
    label37:
    this.cb.a(paramByte, paramBoolean);
  }
  
  public void e(boolean paramBoolean)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.e(paramBoolean);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.e(paramBoolean);
  }
  
  public boolean H()
  {
    if (!ld.E) {}
    return this.cb == null ? super.H() : this.cb.H();
  }
  
  public Rectangle2D.Double O()
  {
    if (!ld.E) {}
    return this.cb == null ? super.O() : this.cb.O();
  }
  
  public byte e(double paramDouble1, double paramDouble2)
  {
    if (!ld.E) {}
    return this.cb == null ? super.e(paramDouble1, paramDouble2) : this.cb.e(paramDouble1, paramDouble2);
  }
  
  public boolean a(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, Point2D paramPoint2D)
  {
    if (!ld.E) {}
    return this.cb == null ? super.a(paramDouble1, paramDouble2, paramDouble3, paramDouble4, paramPoint2D) : this.cb.a(paramDouble1, paramDouble2, paramDouble3, paramDouble4, paramPoint2D);
  }
  
  public boolean b(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, Point2D paramPoint2D)
  {
    if (!ld.E) {}
    return this.cb == null ? super.b(paramDouble1, paramDouble2, paramDouble3, paramDouble4, paramPoint2D) : this.cb.b(paramDouble1, paramDouble2, paramDouble3, paramDouble4, paramPoint2D);
  }
  
  public void a(Rectangle2D paramRectangle2D, byte paramByte)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label37;
        }
        super.a(paramRectangle2D, paramByte);
        if (!ld.D) {
          return;
        }
      }
    }
    label37:
    this.cb.a(paramRectangle2D, paramByte);
  }
  
  public void b(Rectangle2D paramRectangle2D)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.b(paramRectangle2D);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.b(paramRectangle2D);
  }
  
  public boolean b(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    if (!ld.E) {}
    return this.cb == null ? super.b(paramDouble1, paramDouble2, paramDouble3, paramDouble4) : this.cb.b(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
  }
  
  public boolean f(double paramDouble1, double paramDouble2)
  {
    if (!ld.E) {}
    return this.cb == null ? super.f(paramDouble1, paramDouble2) : this.cb.f(paramDouble1, paramDouble2);
  }
  
  public boolean c(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    if (!ld.E) {}
    return this.cb == null ? super.c(paramDouble1, paramDouble2, paramDouble3, paramDouble4) : this.cb.c(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
  }
  
  public z g(double paramDouble)
  {
    if (!ld.E) {}
    return this.cb == null ? super.g(paramDouble) : this.cb.g(paramDouble);
  }
  
  public ed M()
  {
    ld localld = i();
    return (ld.E) || (localld != null) ? localld.M() : null;
  }
  
  protected void a(Graphics2D paramGraphics2D)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.a(paramGraphics2D);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.a(paramGraphics2D);
  }
  
  public void b(Graphics2D paramGraphics2D)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.b(paramGraphics2D);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.b(paramGraphics2D);
  }
  
  public void a(Graphics2D paramGraphics2D, byte paramByte)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label37;
        }
        super.a(paramGraphics2D, paramByte);
        if (!ld.D) {
          return;
        }
      }
    }
    label37:
    this.cb.a(paramGraphics2D, paramByte);
  }
  
  public void b(Graphics2D paramGraphics2D, byte paramByte)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label37;
        }
        super.b(paramGraphics2D, paramByte);
        if (!ld.D) {
          return;
        }
      }
    }
    label37:
    this.cb.b(paramGraphics2D, paramByte);
  }
  
  public void c(Graphics2D paramGraphics2D)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.c(paramGraphics2D);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.c(paramGraphics2D);
  }
  
  public void e(Graphics2D paramGraphics2D)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.e(paramGraphics2D);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.e(paramGraphics2D);
  }
  
  public void f(Graphics2D paramGraphics2D)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label35;
        }
        super.f(paramGraphics2D);
        if (!ld.D) {
          return;
        }
      }
    }
    label35:
    this.cb.f(paramGraphics2D);
  }
  
  public void R()
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.cb == null)
      {
        if (bool) {
          break label33;
        }
        super.R();
        if (!ld.D) {
          return;
        }
      }
    }
    label33:
    this.cb.R();
  }
  
  public void a(ObjectOutputStream paramObjectOutputStream)
    throws IOException
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    paramObjectOutputStream.writeByte(0);
    super.a(paramObjectOutputStream);
    paramObjectOutputStream.writeInt(this.bb.size());
    int i = 0;
    int j = 0;
    if (j < this.bb.size()) {}
    while (bool2)
    {
      ld localld = (ld)this.bb.get(j);
      paramObjectOutputStream.writeObject(r.c(localld.getClass().getName()));
      if (!bool2)
      {
        localld.a(paramObjectOutputStream);
        if (bool1) {
          return;
        }
      }
      if (localld == this.cb) {
        i = j;
      }
      j++;
      if (!bool1) {
        break;
      }
    }
    paramObjectOutputStream.writeInt(i);
  }
  
  public void a(ObjectInputStream paramObjectInputStream)
    throws IOException, ClassNotFoundException
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    byte b = paramObjectInputStream.readByte();
    if (!bool2)
    {
      if (b != 0) {
        throw new a.e.c((byte)0, b);
      }
      super.a(paramObjectInputStream);
    }
    int i = paramObjectInputStream.readInt();
    int j = 0;
    if (j < i) {}
    for (;;)
    {
      try
      {
        Class localClass = Class.forName(r.d((String)paramObjectInputStream.readObject()));
        ld localld = (ld)localClass.newInstance();
        localld.a(n());
        localld.a(paramObjectInputStream);
        localld.a(null);
        b(localld);
        if (bool1) {
          return;
        }
      }
      catch (InstantiationException localInstantiationException)
      {
        throw new IOException(localInstantiationException.getMessage());
      }
      catch (IllegalAccessException localIllegalAccessException)
      {
        throw new IOException(localIllegalAccessException.getMessage());
      }
      j++;
      if (!bool1) {
        break;
      }
      if (!bool2) {
        d(f(paramObjectInputStream.readInt()));
      }
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.qd

 * JD-Core Version:    0.7.0.1

 */